local color = {}

color['white'] = {red=255, green=255, blue=255}
color['red'] = {red=255, green=0, blue=0}
color['green'] = {red=0, green=255, blue=0}
color['blue'] = {red=0, green=0, blue=255}
color['yellow'] = {red=255, green=255, blue=0}
color['black'] = {red=0, green=0, blue=0}

function color.setColor(c)
  local colour = color[c]
  love.graphics.setColor(colour.red, colour.green, colour.blue)
end

return color
